export const groupTestData = [
  // 分组
  {
    groupId: 1,
    groupName: "测试",
    // 表头配置
    groupListConfig: {
      selectField: [
        { label: "客户姓名", value: "customer_name" },
        { label: "面积", value: "area" }
      ],
      field: [
        { label: "客户姓名", value: "customer_name" },
        { label: "面积", value: "area" }
      ]
    },
    // 规则
    groupConfig: {
      compare: "and",
      conditionGroupList: [
        {
          compare: "or",
          conditionList: [
            {
              id: "build_status",
              title: "工程状态",
              condition: [
                {
                  label: "等于",
                  value: "eq"
                }
              ],
              option: {
                type: "MultipleSelect",
                lazy: true,
                optionDataSource: {},
                data: [
                  {
                    label: "未开始",
                    value: "not_start"
                  },
                  {
                    label: "正常",
                    value: "ing"
                  },
                  {
                    label: "超期",
                    value: "time_out"
                  },
                  {
                    label: "延期风险",
                    value: "delay_risk"
                  },
                  {
                    label: "已停工",
                    value: "shutdown"
                  },
                  {
                    label: "已交付",
                    value: "complete"
                  }
                ]
              },
              compare: "eq",
              value: ["ing"]
            }
          ]
        }
      ]
    }
  }
];

export const fields = [
  {
    id: "build_status",
    title: "工程状态"
  }
];

export const conditionGroupList = [
  {
    compare: "or",
    conditionList: [
      {
        id: "build_status",
        title: "工程状态",
        condition: [
          {
            label: "等于",
            value: "eq"
          }
        ],
        option: {
          type: "MultipleSelect",
          lazy: true,
          optionDataSource: {},
          data: [
            {
              label: "进行中",
              value: "ing"
            },
            {
              label: "未开始",
              value: "not_start"
            },
            {
              label: "已交付",
              value: "complete"
            }
          ]
        },
        compare: "eq",
        value: []
      }
    ]
  }
];
